<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sdQuotationStatusBean.id}"/>
		<f:event type="preRenderView" listener="#{sdQuotationStatusBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sd Quotation Status"/>

	<ui:define name="header">
		Sd Quotation Status
	</ui:define>

	<ui:define name="subheader">
		View existing Sd Quotation Status
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sdQuotationStatusBeanSdQuotationStatusQtStatusNo" value="Qt Status No:"/>
			<h:outputText id="sdQuotationStatusBeanSdQuotationStatusQtStatusNo" value="#{sdQuotationStatusBean.sdQuotationStatus.qtStatusNo}"/>
			<h:outputText/>
			<h:outputLabel for="sdQuotationStatusBeanSdQuotationStatusQtStatusCode" value="Qt Status Code:"/>
			<h:outputText id="sdQuotationStatusBeanSdQuotationStatusQtStatusCode" value="#{sdQuotationStatusBean.sdQuotationStatus.qtStatusCode}"/>
			<h:outputText/>
			<h:outputLabel for="sdQuotationStatusBeanSdQuotationStatusQtStatusDescr" value="Qt Status Descr:"/>
			<h:outputText id="sdQuotationStatusBeanSdQuotationStatusQtStatusDescr" value="#{sdQuotationStatusBean.sdQuotationStatus.qtStatusDescr}"/>
			<h:outputText/>
			<h:outputLabel for="sdQuotationStatusBeanSdQuotationStatusSdQuotations" value="Sd Quotations:"/>
			<h:dataTable id="sdQuotationStatusBeanSdQuotationStatusSdQuotations" styleClass="data-table" value="#{forgeview:asList(sdQuotationStatusBean.sdQuotationStatus.sdQuotations)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt No"/>
					</f:facet>
					<h:link outcome="/sdQuotation/view">
						<f:param name="id" value="#{_item.qtNo}"/>
						<h:outputText id="itemQtNo" value="#{_item.qtNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt Code"/>
					</f:facet>
					<h:link outcome="/sdQuotation/view">
						<f:param name="id" value="#{_item.qtNo}"/>
						<h:outputText id="itemQtCode" value="#{_item.qtCode}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt Descr"/>
					</f:facet>
					<h:link outcome="/sdQuotation/view">
						<f:param name="id" value="#{_item.qtNo}"/>
						<h:outputText id="itemQtDescr" value="#{_item.qtDescr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt Date"/>
					</f:facet>
					<h:link outcome="/sdQuotation/view">
						<f:param name="id" value="#{_item.qtNo}"/>
						<h:outputText id="itemQtDate" value="#{_item.qtDate}">
							<f:convertDateTime type="date"/>
						</h:outputText>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt Discount Perc"/>
					</f:facet>
					<h:link outcome="/sdQuotation/view">
						<f:param name="id" value="#{_item.qtNo}"/>
						<h:outputText id="itemQtDiscountPerc" value="#{_item.qtDiscountPerc}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>